package com.blackline.UI.ACCOUNTS;

import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;

/**
 * @author XBO
 * @version Jan, 2013
 * <p>This page is after clicking ACCOUNTS > View Reconciliations in navigation menu.
 * Please refer to UI.Accounts_viewReconciliations.png in doc-files.<br>
 * Note: this page is different from Accounts page (ACCOUNTS > Accounts).
 */
public class Accounts_viewReconciliations {
	/**
	 * The Preparer filter field
	 */
//	@FindBy (xpath = "(//tr[@class='webControls_BlackLineGrid_Filter']//input[@type='text'])[1]")
	@FindBy (xpath = "(//tr[@class='webControls_BlackLineGrid_Filter']/td/input)[1]")
//	@FindBy (xpath = "(//input[@value=''])[3]")
	public WebElement Preparer_textField;
	
	/**
	 * The Team filter field
	 */
	@FindBy (xpath = "(//tr[@class='webControls_BlackLineGrid_Filter']/td/input)[2]")
	public WebElement Team_textField;
	
	/**
	 * The Entity filter field
	 */
	@FindBy (xpath = "(//tr[@class='webControls_BlackLineGrid_Filter']/td/input)[3]")
	public WebElement Entity_textField;
	
	/**
	 * The Account filter field
	 */
	@FindBy (xpath = "(//tr[@class='webControls_BlackLineGrid_Filter']/td/input)[4]")
	public WebElement Account_textField;
	
	
	/**
	 * The Keys3 filter field
	 */
	@FindBy (xpath = "(//tr[@class='webControls_BlackLineGrid_Filter']/td/input)[5]")
	public WebElement Keys3_textField;
	
	/**
	 * The Description filter field
	 */
	@FindBy (xpath = "(//tr[@class='webControls_BlackLineGrid_Filter']/td/input)[6]")
	public WebElement Description_textField;
	
	/**
	 * The Risk filter field
	 */
	@FindBy (xpath = "(//tr[@class='webControls_BlackLineGrid_Filter']/td/input)[7]")
	public WebElement Risk_textField;
	
	/**
	 * The Cncy filter field
	 */
	@FindBy (xpath = "(//tr[@class='webControls_BlackLineGrid_Filter']/td/input)[8]")
	public WebElement Cncy_textField;
	
	/**
	 * The GL Balance filter field
	 */
	@FindBy (xpath = "(//tr[@class='webControls_BlackLineGrid_Filter']/td/input)[9]")
	public WebElement GL_Balance_textField;
	
	/**
	 * The Unidentified filter field
	 */
	@FindBy (xpath = "(//tr[@class='webControls_BlackLineGrid_Filter']/td/input)[10]")
	public WebElement Unidentified_textField;
	
	/**
	 * The Prep_Due_Date filter field
	 */
	@FindBy (xpath = "(//tr[@class='webControls_BlackLineGrid_Filter']/td/input)[11]")
	public WebElement Prep_Due_Date_textField;
	
	/**
	 * Add icon
	 */
	@FindBy (xpath = "//button[@class='webControls_ToolBar_Btn webControls_ToolBar_Btn_Add']")
	public WebElement Add;
	
	/**
	 * Refresh icon
	 */
	@FindBy (css = "button.webControls_ToolBar_Btn.webControls_ToolBar_Btn_Refresh")
	public WebElement Refresh_icon;
	
	/**
	 * Clear icon
	 */
	@FindBy (css = "button.webControls_ToolBar_Btn.webControls_ToolBar_Btn_Clear")
	public WebElement Clear;
	
	/**
	 * Advanced icon
	 */
	@FindBy (xpath = "//button[@class='webControls_ToolBar_Btn webControls_ToolBar_Btn_Advanced']")
	public WebElement Advanced;
	
	/**
	 * Basic icon
	 */
	@FindBy (xpath = "//button[@class='webControls_ToolBar_Btn webControls_ToolBar_Btn_Basic core_hidden']")
	public WebElement Basic;
	
	
	
	/**
	 * Export icon
	 */
	@FindBy (xpath = "//button[@class='webControls_ToolBar_Btn webControls_ToolBar_Btn_Export']")
	public WebElement Export;
	
	/**
	 * View link of the searched result (suppose only have one result).
	 */
	@FindBy(xpath = "//tbody/tr[@class='webControls_BlackLineGrid_RowOdd'][1]/td[1]/a")
	public WebElement View;
	
}
